/******************************************************************************\
    Html.h contains functions generating html pages.
    It's used with acm server. See main.cpp for details.
    Copyright (C) 2008  Victor Vinogradov (fly3333@gmail.com)

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
\******************************************************************************/

#pragma once 

#include <string>
#include <map>
#include ".\ClientDataBase.h"
#include <Common\Format.h>

//std::string HomeHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string StyleCss();
std::string ErrorHtml( const nsClientDataBase::sClientData &client_data, const std::string &message );
std::string LoginHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ContestantsHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ContestantHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string AddContestantHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string EditContestantHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string DeleteContestantHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ClientsHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string PluginsHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string AddPluginHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string PluginHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string PluginProblemsHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string UpdatePluginHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ConfigurePluginHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string DeletePluginHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ProxyHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ContestsHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ContestHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string AddContestHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string EditContestHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string DeleteContestHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ContestProblemsHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string AddContestProblemHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string SelectPluginHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string SelectProblemHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string EditContestProblemHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string DeleteContestProblemHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ProblemHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ContestProblemHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ContestProblemFrameHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string AdditionHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ContestContestantsHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string AddContestContestantHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string SelectContestantHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string EditContestContestantHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string DeleteContestContestantHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ContestContestantHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ContestContestantProblemsHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string AddContestContestantProblemHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string SelectContestProblemHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
//std::string SelectLanguageHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string EditContestContestantProblemHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string DeleteContestContestantProblemHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ContestProblemContestantsHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string MonitorHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string SubmitHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ContestContestantProblemHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string ContestantContestProblemsHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter ); // Status 
std::string AboutHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
std::string UploadContestHtml( const nsClientDataBase::sClientData &client_data, const cFormat parameter );
